package com.example.leetcode.bfs;

import com.example.leetcode.bfs.common.BFSUtils;
import com.example.leetcode.tree.common.Node;

import java.util.List;

class Solution429 {
    public List<List<Integer>> levelOrder(Node root) {
        return BFSUtils.levelOrder(root);
    }
}

public class leetcode429 {
    public static void main(String[] args) {
        Solution429 solution429 = new Solution429();
        Node root = new Node(1);
        solution429.levelOrder(root);
    }
}
